<%@ page contentType="text/html;charset=utf-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<style type="text/css">
			tr,td{
				text-align: "center";
			}
		</style>
		<link rel="stylesheet" type="text/css" href="<%=basePath%>css/style_admin.css">
		<link rel="stylesheet" type="text/css" href="<%=basePath%>js/calendar/skins/aqua/theme.css">
		<script type="text/javascript" src="<%=basePath%>js/jquery-1.4.2.js"></script>
		<script type="text/javascript" src="<%=basePath%>js/validate/jquery.validate.js"></script>
		<script type="text/javascript" src="<%=basePath%>js/validate/messages_cn.js"></script>
		<script type="text/javascript"
			src="<%=basePath%>js/calendar/calendar.js"></script>
		<script type="text/javascript"
			src="<%=basePath%>js/calendar/calendar-setup.js"></script>
		<script type="text/javascript"
			src="<%=basePath%>js/calendar/lang/calendar-zh_CN.js"></script>
	</head>
	<body>
		<center>
			<form name="conditionForm" action="subArrangeInfo!getSubjectByKeyWord" method="post">
				查询条件<input id="keyWord" name="keyWord" type="text"/>
						 <input value="搜索" type="submit"/>
			</form>
			<table border="1" width="100%" class="tableborder" id="table3">
				<tr>
					<td colspan="7" class="header">
						<blockquote>
							课程安排信息
						</blockquote>
					</td>
				</tr>
				<tr>
					<td>教师名称</td>
					<td>班级名称</td>
					<td>课程名称</td>
					<td>课室名称</td>
					<td>上课日期</td>
					<td>操作</td>
				</tr>
				<s:iterator value="subjectArrangeList" status="index">
					<tr>
						<td class="altbg1"><s:property value="teachName"/></td>
						<td class="altbg1"><s:property value="className"/></td>
						<td class="altbg1"><s:property value="subName"/></td>
						<td class="altbg1"><s:property value="classRoom"/></td>
						<td class="altbg1"><s:property value="date"/></td>
						<td class="altbg1">
							<a href="subArrangeInfo!deleteSubjectById?subjectArrange.id=<s:property value="id"/>">删除</a>
						</td>
					</tr>
				</s:iterator>
			</table>
		</center>
	</body>
</html>
